<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="page" uri="/WEB-INF/tlds/page.tld"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<title>首页</title>	
<%@ include file="/common/common.jsp" %>
</head>
  <body>
  <!--  
  	<div style="color: red;">
	  <s:property value="exception.message"/>
  	</div>
  -->
  <table width="100%" height="90%" border="1" align="center" style="border-collapse:collapse" bordercolor="#6699CC">
  <tr>
    <td height="5%" align="center" >
      <strong><font size="2">错误信息</font></strong>
	  <s:property value="exception.message"/>
    </td>
  </tr>
  <tr>
    <td bgcolor="#F5FFFA" height="90%" valign="top">
		<table align=center border=0 width="90%" style="font-size:12px;color:red">
        <tr>
			<td id="errorText">
			<%
			Exception ex = (Exception)request.getAttribute("exception");
			ex.printStackTrace();
			if(ex != null){
				out.println(ex.getClass().getName());
				out.println("<br/>");
				if(ex.getMessage() != null){
					out.println(ex.getMessage());
					out.println("<br/>");
				}
				out.println("<br/>");
				if(ex.getCause() != null){
					out.println("原因:");
					out.println("<br/>");
					out.println(ex.getCause().getMessage());
				}
			}
			%>
      		</td>
		</tr>
		</table>
	</td>
  </tr>
  </table>
  </body>
</html>